LearningStoreXml.CreateReader Method

Creates a new System.Xml.XmlReader that can be used to read the XML data.

Parent Type: LearningStoreXml

Namespace: Microsoft.LearningComponents.Storage

Assembly: Microsoft.LearningComponents.Storage.dll

Syntax
C#

public XmlReader CreateReader ()

Return Value

A System.Xml.XmlReader that can read the data stored in this object.

Example

The following code loads the data from a LearningStoreXml object into an XmlDocument:

C#
XmlDocument document = new XmlDocument();
document.Load(learningStoreXml.CreateReader());